<template>
  <div>
    <van-search v-model="value" shape="round" placeholder="请输入搜索关键词" @click="toSearch" />
  </div>
</template>

<script>

export default {
  name: "SearchContext",
  data() {
      return {
          value:''
      }
  },
  methods: {
    toSearch(){
      this.$router.push('/search')
    }
  },
};
</script>

<style scoped>
</style>